package oop3;

/**
 * @author oldliu
 * @since 1.0
 */
public class DriverTest {
    public static void main(String[] args) {
        System.out.println("this is " + 5);
        Driver driver = new Driver("老周", 41);
        Car c = new Car("保时捷", 900);
        Bus b = new Bus("皖A49921", "163", "龙岗停保场", "公交三公司");
        Truck t = new Truck("皖B 8721", 10);

        driver.drive(c);
        System.out.println("-------------------------");
        driver.drive(b);
        System.out.println("-------------------------");
        driver.drive(t);
    }
}
